(function() {
  $('.portal-gallery').addSwiper({
    col: {
      SM: 1,
      MD: 2,
      LG: 4
    },
    onSlideChangeStart: function(swiper) {
        $(swiper.container).closest('.swiper-container-wrapper').css('overflow', 'hidden')
    },
    onSlideChangeEnd: function(swiper) {
        $(swiper.container).closest('.swiper-container-wrapper').css('overflow', 'visible')
    }
  });
  
  $('.portal-service').addSwiper({
	    col: {
	      SM: 1,
	      MD: 2
	    }
	  });
  
})()
